package org.example.domain;

import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 分页信息
 * @Author hxy
 * @Date 2021/3/15 22:43
 * @Version 1.0
 */
public class PageVO implements Serializable {
    @NotNull
    @ApiModelProperty("页码")
    private Integer pageNum;

    @NotNull
    @ApiModelProperty("页面大小")
    private Integer pageSize;

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
}
